$('#unbindbtn').click(function(){
    $.Dialog.loading();
    $.ajax({
        url: showcard.unBind,
        type:"get",
        dataType:"json",
        success:function(data){
            if(data.statu == 0){
                $.Dialog.fail(data.content);
            }
            else if(data.statu == 1){
                $.Dialog.success(data.content);
                setTimeout(function(){
                    location.href = showcard.showCardurl;
                },2000);
            }
        }
    });
});
$.Dialog.loading();
$.post(showcard.checkedCredit,'',function(data){
    $.Dialog.close();
    if(data){
        $('#checkstatu').hide();
    }
});


